﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YY.Admin.Services.Service
{
    public class UserOutput 
    {
        /// <summary>
        /// 账号
        /// </summary>
        public  string Account { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public virtual string RealName { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string? NickName { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string? Avatar { get; set; }

        /// <summary>
        /// 性别-男_1、女_2
        /// </summary>
        public GenderEnum Sex { get; set; } = GenderEnum.Male;


        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? Birthday { get; set; }


        /// <summary>
        /// 手机号码
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 证件类型
        /// </summary>
        public CardTypeEnum CardType { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string? IdCardNum { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string? Email { get; set; }

        /// <summary>
        /// 文化程度
        /// </summary>
        public CultureLevelEnum CultureLevel { get; set; }

        /// <summary>
        /// 政治面貌
        /// </summary>
        public string? PoliticalOutlook { get; set; }

        /// <summary>
        /// 毕业院校
        /// </summary>
        public string? College { get; set; }

        /// <summary>
        /// 办公电话
        /// </summary>
        public string? OfficePhone { get; set; }

        /// <summary>
        /// 紧急联系人
        /// </summary>
        public string? EmergencyContact { get; set; }

        /// <summary>
        /// 紧急联系人电话
        /// </summary>
        public string? EmergencyPhone { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public StatusEnum Status { get; set; } = StatusEnum.Enable;

        /// <summary>
        /// 账号类型
        /// </summary>
        public AccountTypeEnum AccountType { get; set; } = AccountTypeEnum.NormalUser;
   
        /// <summary>
        /// 机构名称
        /// </summary>
        [BindDescription("机构名称", ShowScheme.普通文本, "Auto")]
        public string OrgName { get; set; }

        /// <summary>
        /// 职位名称
        /// </summary>
        [BindDescription("职位名称", ShowScheme.普通文本, "Auto")]
        public string PosName { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        [BindDescription("职位名称", ShowScheme.普通文本, "Auto")]
        public string RoleName { get; set; }

    }
}
